﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace BACKOFFICE
{
    public partial class NewEmployee : DevExpress.XtraEditors.XtraUserControl
    {
        public NewEmployee()
        {
            InitializeComponent();
        }

        private void NewEmployee_Load(object sender, EventArgs e)
        {
            foreach (DataRow Jobtitles in DataTableClass.JobTitles.Rows)
            {
                employeeTitlecomboBoxEdit1.Properties.Items.Add(Jobtitles["JobTitles"].ToString().Trim());
            }
        }

    }
}
